"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.applyTabBar = applyTabBar;
function safeSetTabBarItem(options) {
    try {
        wx.setTabBarItem(options);
    }
    catch (error) {
        console.warn("setTabBarItem failed", error);
    }
}
function applyTabBar(role) {
    safeSetTabBarItem({ index: 0, text: "菜单" });
    safeSetTabBarItem({ index: 1, text: "订单" });
    safeSetTabBarItem({ index: 2, text: "我的" });
}
